<form id="frm_tag_edit" method="POST" action="<?php echo $save_action; ?>">
    <?php $this->load->view('site/tag/message'); ?>
    <input id="entity_id" type="hidden" name="id" value="<?php echo $tag->id; ?>" />
    <div class="clearfix auto_height mb_10">
        <?php $buttons = $this->load->view('admin/site/tag/buttons', null, true); echo $buttons; ?>
    </div>
    <div class="form_block">
        <div class="block_header">
            Thông tin căn bản
        </div>
        <div class="block_content">
            <table cellpadding="0px" cellspacing="0px">
                <tr>
                    <td class="frm_label">Tên thẻ(*)</td>
                    <td class="frm_field">
                        <input type="text" class="std_input required" name="data[name]" value="<?php echo $tag->name; ?>" />
                    </td>
                </tr>
                <tr>
                    <td class="frm_label">URL(*)</td>
                    <td class="frm_field">
                        <input type="text" class="std_input required" name="data[url]" value="<?php echo $tag->url; ?>" />
                    </td>
                </tr>
                <tr>
                    <td class="frm_label">Thứ tự(*)</td>
                    <td class="frm_field">
                        <input type="text" class="std_input" name="data[sort_order]" value="<?php echo $tag->sort_order; ?>" />
                    </td>
                </tr>
                <tr>
                    <td class="frm_label">Là thẻ đặc biệt(*)</td>
                    <td class="frm_field">
                        <label>
                            <input <?php if ($tag->hot_tag == 1) :?>checked="checked"<?php endif; ?> class="std_chk" type="checkbox" name="data[hot_tag]" value="1" />
                            <span>Có / Không</span>
                        </label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="clearfix auto_height mt_10">
        <?php echo $buttons; ?>
    </div>
</form>